More iOS6 Development by Alex Horovitz & Kevin Kim & Jeff LaMarche & David Mark
Author:Alex Horovitz & Kevin Kim & Jeff LaMarche & David Mark
Language: eng
Format: epub
ISBN: 9781430238072
Publisher: Apress
Table 9-1. Game Space Locations, Sizes, and Tags
Okay, you’ve defined your interface, now let’s connect it to your controller. While still in Interface Builder, change the Editor from Standard to Assistant view in the Toolbar. The Editor pane should split horizontally, with Interface Builder on the left, and the Source Code Editor, open to ViewController.h, on the right. You want to add Outlets for the New Game button and Label you placed on top of it. If you control-drag from the middle of the New Game button, the Outlet pop-up should automatically set the Type field to UILabel. That means you’re adding an Outlet for the Label. Name it feedbackLabel and click Connect.
You need to add an Outlet for the New Game button you created as well, but it’s essentially blocked by the feedbackLabel. Open the disclosure triangle on the bottom left of the Interface Builder Editor pane, and expand the Object Dock on the left (Figure 9-14). In the Objects group, underneath the View (if it’s not open, open it), find the New Game button object named Button. Control-drag from Button to just below the feedbackLabel Outlet and create a new Outlet. Name it gameButton and click Connect.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(12592)
Hello! Python by Anthony Briggs(9928)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9802)
The Mikado Method by Ola Ellnestam Daniel Brolund(9787)
Dependency Injection in .NET by Mark Seemann(9348)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8310)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7772)
Grails in Action by Glen Smith Peter Ledbrook(7705)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7567)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7170)
Microservices with Go by Alexander Shuiskov(6940)
Practical Design Patterns for Java Developers by Miroslav Wengner(6855)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6800)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6424)
Angular Projects - Third Edition by Aristeidis Bampakos(6215)
The Art of Crafting User Stories by The Art of Crafting User Stories(5730)
NetSuite for Consultants - Second Edition by Peter Ries(5661)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5478)
Kotlin in Action by Dmitry Jemerov(5074)
